package com.example.service;

import com.example.myannotation.InvokeLog;
import org.springframework.stereotype.Service;

/**
 * @Auther: tong
 * @Date: 2023/01/18/11:00
 * @Description:
 */
@Service
public class PhoneService {
    public void sayHello(){
        System.out.println("hello");
    }

    @InvokeLog
    public void sayBye(){
        System.out.println("bye");
        //System.out.println(1/0);
    }
}
